
var HongKongWeatherFields = [{
    name: "ObjectID",
    type: "oid"
},
    {
        name: "siteName",
        type: "string"
    }, {
        name: "time",
        type: "string"
    }, {
        name: "qiya",
        type: "string"
    }, {
        name: "qiwenMax",
        type: "string"
    }, {
        name: "qiwenPj",
        type: "string"
    }, {
        name: "qiwenMin",
        type: "string"
    }, {
        name: "shidu",
        type: "string"
    }, {
        name: "yunliang",
        type: "string"
    }, {
        name: "yuliang",
        type: "string"
    }, {
        name: "fengxiang",
        type: "string"
    }, {
        name: "fengshu",
        type: "string"
    }
];


//观测气象--潮汐
var ChaoXiPopupTemplate = {
    title: " {siteName} 潮汐观测点",
    content: [{
        type: "fields", // Autocasts as new FieldsContent()
        // Autocasts as new FieldInfo[]
        fieldInfos: [
            {
                fieldName: "time",
                label: "预测的日期",
            }, {
                fieldName: "time1",
                label: "预测时间1",
            }, {
                fieldName: "hight1",
                label: "预测高度1",
            }, {
                fieldName: "time2",
                label: "预测时间2",
            }, {
                fieldName: "hight2",
                label: "预测高度2",
            }, {
                fieldName: "time3",
                label: "预测时间3",
            }, {
                fieldName: "hight3",
                label: "预测高度3",
            }, {
                fieldName: "time4",
                label: "预测时间4",
            }, {
                fieldName: "hight4",
                label: "预测高度4",
            }]
    }]
};

var ChaoXiFields = [{
    name: "ObjectID",
    type: "oid"
},
    {
        name: "siteName",
        type: "string"
    }, {
        name: "time",
        type: "string"
    }, {
        name: "time1",
        type: "string"
    }, {
        name: "time2",
        type: "string"
    }, {
        name: "time3",
        type: "string"
    }, {
        name: "time4",
        type: "string"
    }, {
        name: "hight1",
        type: "string"
    }, {
        name: "hight2",
        type: "string"
    }, {
        name: "hight3",
        type: "string"
    }, {
        name: "hight4",
        type: "string"
    }, {
        name: "siteID",
        type: "string"
    }
];


//观测气象--水质
var WaterPopupTemplate = {
    title: " {siteName} 水质观测点",
    content: [{
        type: "fields", // Autocasts as new FieldsContent()
        // Autocasts as new FieldInfo[]
        fieldInfos: [
            {
                fieldName: "time",
                label: "日期",
            }, {
                fieldName: "germ",
                label: "大肠杆菌",
            }, {
                fieldName: "oxygen",
                label: "溶解氧",
            }]
    }]
};


//香港气象
var HongKongWeatherPopupTemplate = {
    title: " {siteName} 气象观测点",
    content: [{
        type: "fields", // Autocasts as new FieldsContent()
        // Autocasts as new FieldInfo[]
        fieldInfos: [
            {
                fieldName: "time",
                label: "时间",
            }, {
                fieldName: "qiya",
                label: "气压",
            }, {
                fieldName: "qiwenMax",
                label: "最高气温",
            }, {
                fieldName: "qiwenPj",
                label: "平均气温",
            }, {
                fieldName: "qiwenMin",
                label: "最低气温",
            }, {
                fieldName: "ludian",
                label: "平均露点温度",
            }, {
                fieldName: "shidu",
                label: "平均相对湿度",
            }, {
                fieldName: "yunliang",
                label: "平均云量",
            }, {
                fieldName: "yuliang",
                label: "总雨量",
            }, {
                fieldName: "fengxiang",
                label: "盛行风向",
            }, {
                fieldName: "fengshu",
                label: "平均风速",
            },]
    }]
};

var SZWeatherFields = [{
    name: "ObjectID",
    type: "oid"
},
    {
        name: "siteName",
        type: "string"
    },{
        name: "siteID",
        type: "string"
    }, {
        name: "fengxiang",
        type: "string"
    }, {
        name: "jiangshui",
        type: "string"
    }, {
        name: "qiwen",
        type: "string"
    }, {
        name: "qiya",
        type: "string"
    }, {
        name: "shidu",
        type: "string"
    }, {
        name: "time",
        type: "string"
    }
];


var WaterFields = [{
    name: "ObjectID",
    type: "oid"
},
    {
        name: "siteName",
        type: "string"
    }, {
        name: "time",
        type: "string"
    }, {
        name: "germ",
        type: "string"
    }, {
        name: "oxygen",
        type: "string"
    }
];

var SunFields = [{
    name: "ObjectID",
    type: "oid"
},
    {
        name: "siteName",
        type: "string"
    }, {
        name: "time",
        type: "string"
    }, {
        name: "direct",
        type: "string"
    }, {
        name: "gross",
        type: "string"
    }
];
